import 'package:flutter/material.dart';
import 'package:flutter_webview_plugin/flutter_webview_plugin.dart';
import 'package:yurun_smartmerchants/res/colours.dart';
import 'package:yurun_smartmerchants/utils/app_size.dart';

class MineSetupService extends StatefulWidget {
  @override
  _MineSetupSevicePageState createState() => _MineSetupSevicePageState();
}

class _MineSetupSevicePageState extends State<MineSetupService> {
  String url = "http://www.baidu.com";

  @override
  Widget build(BuildContext context) {
    return WebviewScaffold(
      url: url,
      appBar: AppBar(
          centerTitle: true,
          title: Text('服务条例',
              style: TextStyle(fontSize: 18, color: Colours.app_words)),
          backgroundColor: Colours.title_bg,
          iconTheme: IconThemeData(color: Colours.app_words)),
    );
  }
}
